package com.tmindtech.api.dept.model

import com.tmindtech.api.base.model.BaseEntity
import javax.persistence.Entity
import javax.persistence.Table

/**
 * Created by RexQian on 2017/11/29.
 */
@Entity
@Table(name = "t_department")
class Department(
        var name: String? = null,
        var parentId: Long? = null,
        var level: Int? = null,
        var isInstance: Boolean? = null,
        var isFixedId: Boolean? = null,
        var outId: String? = null,
        var longitude: Double? = null,
        var latitude: Double? = null,
        var address: String? = null
) : BaseEntity()
